package bootstrap;

import com.google.common.base.Strings;

import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;

public class BootStart {
	
	public static void main(String[] args) {
		// 在字符串末尾填充指定字符，直到字符串达到指定长度
        String str3 = "abc";
        String paddedStr1 = Strings.padEnd(str3, 6, '*');
        System.out.println(paddedStr1);
        System.out.println(System.getProperty("user.dir"));
        Properties properties=new Properties();         
        try {
			properties.load(new FileInputStream("./config.properties"));
	        System.out.println(properties.getProperty("key"));
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}

}
